package com.spring.bean.demo2;

/**
 * Bean2 的静态工厂
 */
public class Bean2Factory {
    public static Bean2 createBean2 () {
        System.out.println("Bean2Factory 的方法已经执行了");
        return new Bean2();
    }
}
